package com.qili.entity.supervisor;

import com.qili.annotation.Mean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 *
 *业主单位表
 */
@Data
@Table(name = "project_leader")
@ToString
@EqualsAndHashCode
@Component
public class ProjectLeader {


    // 主键id
    @Id
    @Column(name = "id")
    private String id;

    // 项目负责人
    @Mean(value = "项目负责人")
    @Column(name = "project_leader")
    private String projectLeader;

    // 职务
    @Mean(value = "职务")
    @Column(name = "duty")
    private String duty;

    // 负责人分包编号
    @Mean(value = "负责人分包编号")
    @Column(name = "leader_fb_number")
    private String leaderFbNumber;

    // 添加时间
    @Column(name = "create_date")
    private String createDate;

    // 添加人
    @Column(name = "create_by")
    private String createBy;

    // 外键主项目id
    @Column(name = "supervisor_project_id")
    private String supervisorProjectId;


}
